package com.hmxx.myblogproject.controller;

import com.hmxx.myblogproject.service.MyBlogTagsService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @Author: {27106}
 * @Date: {2021/11/19 16:24}
 */
@RestController
@RequestMapping("/tag")
public class MyBlogTagsController {
    @Resource
    private MyBlogTagsService myBlogTagsService;

    @GetMapping("/getTags")
    public Object getTags(){
        return myBlogTagsService.getTags();
    }
}
